﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RushTracker.Core.Models.Torrents
{
    public class Torrent
    {
        public Torrent()
        {
            Id = -1;
            CreationDate = DateTime.Now;
            MetaValues = new List<MetaValue>();
        }

        public virtual int Id { get; set; }
        public virtual DateTime CreationDate { get; set; }
        public virtual DateTime LastActionDate { get; set; }
        public virtual User User { get; set; }
        public virtual Category Category { get; set; }
        public virtual Information Information { get; set; }
        public virtual string Name { get; set; }
        public virtual int Views { get; set; }
        public virtual int Downloads { get; set; }
        public virtual int TimesCompleted { get; set; }
        public virtual int Leechers { get; set; }
        public virtual int Seeders { get; set; }
        public virtual IList<MetaValue> MetaValues { get; set; }
    }
}
